﻿/**
 * 
 */

function changebg(obj){
	$id(obj).src = "images/src/bg/" + obj +"-on.png";
}
function returnbg(obj){
	$id(obj).src = "images/src/bg/" + obj +".png";
}

function showdetail(obj1,obj2,obj3,obj4,obj5){
	changebg(obj1);
	$id(obj2).style.display = "block";
	$id(obj3).style.display = "none";
	$id(obj4).style.display = "none";
	$id(obj5).style.display = "none";

}
function hidedetail(obj1,obj2,obj3,obj4,obj5){
	returnbg(obj2);
	$id(obj1).style.display = "none";
	$id(obj3).style.display = "none";
	$id(obj4).style.display = "none";
	$id(obj5).style.display = "none";
	
}
function showdetail2(obj1,obj2){
	changebg(obj1);
	$id(obj2).style.display = "block";

}
function hidedetail2(obj1,obj2){
	returnbg(obj1);
	$id(obj2).style.display = "none";

	
}
function $id(id){
	return document.getElementById(id);
}